package cn.linjianhui.api.client;

import cn.linjianhui.api.client.invoker.Serializer;
import cn.linjianhui.api.client.invoker.impl.JsonSerializer;

public class SerializerFactory {

    public static Serializer GetSerializer(DataFormat format) {
        Serializer serializer = null;
        switch (format) {
            case JSON:
                serializer = new JsonSerializer();
                break;
        }
        return serializer;
    }
}
